package musicstore.biz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import musicstore.entity.User;

public abstract interface UserBiz {
	public abstract List<User> getAll();

	public abstract User fetchUserByUsername(String paramString);

	public abstract User fetchUserByEmail(String paramString);

	public abstract List<User> getUsers(int paramInt);
	
	User checkLogin(
			@Param("username")String username, 
			@Param("password")String password) ;
	void register(User user);
	void update(User user);
	void delete(int id);
}
